﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: RolesPermissionsEntity.cs
// 修改时间：2020-9-8 10:40:09
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：RolesPermissions 的实体类.
	/// </summary>
	[Table("RolesPermissions")]
	public partial class RolesPermissionsEntity
	{
		#region Properties
		private int? _roleID = 0;
		/// <summary>
		/// 角色ID(主键)
		/// </summary>
		[Column("RoleID",TypeName="int")]
		[Key]
		public int? RoleID
		{
			get {return _roleID;}
			set {_roleID = value;}
		}
		
		private System.String _operateCode = string.Empty;
		/// <summary>
		/// 权限操作码(主键)
		/// </summary>
		[Column("OperateCode",TypeName="nvarchar(50)")]
		[Key]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String OperateCode
		{
			get {return _operateCode;}
			set {_operateCode = value;}
		}
		
		#endregion
	}
}
